<style>
	.mg-layui-upload-img {
		max-width: 180px;
		max-height: 180px
	}
</style>
<div class="layui-form" lay-filter="managePopup" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">订单编号</label>
        <div class="layui-input-block" id="commOrderPopupXmSelect"></div>
    </div>
	<div class="layui-form-item">
	    <label class="layui-form-label">店铺名称</label>
	    <div class="layui-input-block" id="commShopPopupXmSelect"></div>
	</div>
	<div class="layui-form-item">
        <label class="layui-form-label">商品名称</label>
        <div class="layui-input-block" id="commDataPopupXmSelect"></div>
    </div>
	<div class="layui-form-item">
	    <label class="layui-form-label">溯源码</label>
	    <div class="layui-input-block">
	        <input type="text" name="source_code" value="" placeholder="请输入溯源码" autocomplete="off"
	               class="layui-input" lay-verify="required">
	    </div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="required_class">*</span>溯源码图片</label>
		<div class="layui-input-block">
			<div class="layui-upload">
				<button class="layui-btn" id="manage-data-upload-normal" type="button">上传图片</button>
				<div class="layui-upload-list">
					<script template type="text/html">
						<img class="layui-upload-img img-show mg-layui-upload-img" id="manage-data-upload-normal-img" src="{{ d.params.img }}">
					</script>
				</div>
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">状态</label>
		<div class="layui-input-block">
			<select name="status" lay-search>
				<option value="-1">未查询到信息</option>
				<option value="1">未查询</option>
				<option value="2">仅查询溯源码</option>
				<option value="3">仅查询二维码</option>
				<option value="4">溯源码+二维码</option>
			</select>
		</div>
	</div>
	<div class="layui-form-item">
	    <label class="layui-form-label">生产日期</label>
	    <div class="layui-input-block">
	        <input type="text" name="produce_time" value="" placeholder="请输入生产日期" autocomplete="off"
	               class="layui-input" lay-verify="required">
	    </div>
	</div>
	<div class="layui-form-item">
	    <label class="layui-form-label">到期日期</label>
	    <div class="layui-input-block">
	        <input type="text" name="expire_time" value="" placeholder="请输入到期日期" autocomplete="off"
	               class="layui-input" lay-verify="required">
	    </div>
	</div>
	<div class="layui-form-item">
	    <label class="layui-form-label">产品批号</label>
	    <div class="layui-input-block">
	        <input type="text" name="product_batch_number" value="" placeholder="请输入产品批号" autocomplete="off"
	               class="layui-input" lay-verify="required">
	    </div>
	</div>
	<div class="layui-form-item">
	    <label class="layui-form-label">箱码</label>
	    <div class="layui-input-block">
	       <input type="text" name="case_code" value="" placeholder="请输入箱码" autocomplete="off"
	              class="layui-input" lay-verify="required">
	    </div>
	</div>
	<div class="layui-form-item">
	    <label class="layui-form-label">生产线</label>
	    <div class="layui-input-block">
	        <input type="text" name="line" value="" placeholder="请输入生产线" autocomplete="off"
	               class="layui-input" lay-verify="required">
	    </div>
	</div>
	<div class="layui-form-item">
	    <label class="layui-form-label">生产地</label>
	    <div class="layui-input-block">
	        <input type="text" name="production_address" value="" placeholder="请输入生产地" autocomplete="off"
	               class="layui-input" lay-verify="required">
	    </div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">来源</label>
		<div class="layui-input-inline" style="width: 220px">
			<select name="source" lay-search>
				<option value="1">淘宝</option>
				<option value="2">京东</option>
				<option value="3">抖音</option>
				<option value="4">拼多多</option>
			</select>
		</div>
	</div>
	<div class="layui-form-item">
	    <label class="layui-form-label">购买时间</label>
	    <div class="layui-input-block">
	        <input type="text" name="purchase_time" value="" placeholder="请输入购买时间" autocomplete="off"
	               class="layui-input" lay-verify="required">
	    </div>
	</div>
	<input type="hidden" id="name" name="name" value="">
	<input type="hidden" id="commodity_id" name="commodity_id" value="0">
	<input type="hidden" id="order_number" name="order_number" value="">
	<input type="hidden" id="order_id" name="order_id" value="0">
	<input type="hidden" id="shop_name" name="shop_name" value="">
	<input type="hidden" id="shop_id" name="shop_id" value="0">
	<input type="hidden" id="img" name="img" value="">
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-block">
            <input class="layui-btn" lay-filter="laySubmitAdd" lay-submit type="button" value="确认">
        </div>
    </div>
</div>

<script lay-done="layui.data.sendParams(d.params)" template type="text/html"></script>
<script src="../web/res/js/manageData/Index/other.js"></script>
